"Margin in Sale Order Line"
This module adds the "Margin to Apply" as a percentage in the sales order line and adds the discount to the cost price.